---
title: "SQL-VP-015: Retrieve whether coverage is bound for a policy period"
summary: Invokes an Oracle scalar function via DUAL to determine whether coverage is bound for a policy period.
status: draft
owner: SAIF Claims BOF team
last_reviewed: 2026-08-21
library: SAIF.Business.View.Policy
reference_type: embedded
---

# SQL-VP-015 Retrieve whether coverage is bound for a policy period

Invokes the Oracle scalar function `sp73089_get_policy_bound_flag` via `SELECT ... FROM DUAL`, used
by `clsPolicyData.GetCoverageBoundFlag`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-VP-015 |
| **Operation type** | Read |
| **Execution method** | Inline SQL (scalar function invocation via `DUAL`) |
| **Database** | Oracle |
| **Schema** | `[unqualified]**` |
| **Command type** | Text |
| **Business object** | `clsPolicyData` |
| **Criteria property** | `GetCoverageBoundFlag()` (ad hoc method) |
| **Lifecycle method** | ad hoc method |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:in_policy_num` | Input | Decimal | N/A | Policy number to check. |
| `:in_policy_period_eff_date` | Input | Date | N/A | Policy period effective date to check. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [DUAL](../database-tables.md#dual) | SELECT | N/A |

## Sample SQL

```sql
SELECT sp73089_get_policy_bound_flag(:in_policy_num, :in_policy_period_eff_date)
FROM dual
```

> **Note:** Statements marked with `*` were inferred from code structure, naming
> conventions, or contextual evidence where direct confirmation was not available
> in source artifacts. Statements marked with `**` could not be confirmed; treat
> as unknown until verified.

## Sources
- `SAIF.Business.View.Policy\clsPolicyData.vb`
